﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ServiceResponse.cs" company="Spenta Consulting">
//   (c) Copyright 2011
// </copyright>
// <summary>
//   Service response (Response wrapped for WCF transport)
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Spenta.StreetCare.MVC.Services.Data
{
    #region Using Directives

    using System.Runtime.Serialization;    

    #endregion

    /// <summary>
    /// Service response (Response wrapped for WCF transport)
    /// </summary>
    [DataContract]
    public class ServiceResponse
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ServiceResponse"/> class.
        /// </summary>
        public ServiceResponse()
        {
            this.Fault = ServiceFault.Create();
        }

        /// <summary>
        /// Gets or sets the fault.
        /// </summary>
        /// <value>The fault.</value>
        [DataMember]
        public ServiceFault Fault { get; set; }
    }
}